#pragma once
#include "stdafx.h"
#include "object.h"
#include "coords.h"
#include "data.h"
#include "Keyboard.h"
#include "Array2D.h"

#define	MOV_LEFT	1
#define	MOV_RIGHT	2
#define	MOV_UP		3
#define	MOV_DOWN	4

class CHero :
	public CObject
{
public:
	CHero(void);
	~CHero(void);
	virtual void parseMessage(Message& msg, vector<Message>& retMsg);
	void Move(int Dir);

private:
	PCoords heroCoords;
	PCoords cubeSize;

	PArray2D crSection;
};

/*
class CHeroDrawData :
	public CData
{
public:
	char sprite;
	CCoords coord;
};
*/